package main

import "fmt"

type part struct {
	des   string
	count int
}

func showInfo(p part) {
	fmt.Println("Des: ", p.des)
	fmt.Println("count: ", p.count)
}

func minimumOrder(des string) part {
	var p part
	p.des = des
	p.count = 100
	return p

}

func main() {
	var bolts part
	bolts.des = "hello bolts"
	bolts.count = 1

	showInfo(bolts)

	p := minimumOrder("hello hujianli")
	fmt.Println(p.des, p.count)
}
